﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using SPHelpCollectionBuilder.Icons;

namespace SPHelpCollectionBuilder
{
    public partial class About : Form
    {
        public About()
        {
            InitializeComponent();
            Assembly assem = Assembly.GetExecutingAssembly();
            pictureBoxLogo.Image = Image.FromStream(assem.GetManifestResourceStream(typeof(Dummy), "CompanyLogo.png"));
            pictureBoxProdIcon.Image = Image.FromStream(assem.GetManifestResourceStream(typeof(Dummy), "ProdIcon96.png"));
            lblVersion.Text = Global.Version;
        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            System.Diagnostics.Process.Start("www.blackcompass.net");
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
        }
    }
}
